<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; UTF-8">
<title>Insert title here2</title>
</head>
<body id="body">
<%--  <%
String fissa="&#";
 for(int i=100; i<1001;i++){
	 
%>
<%=fissa%><%=i %>; 	 
<% 
 }
%>  --%>
<script type="text/javascript">

for(var i=1000; i<3000;i++){
	document.getElementById("body").innerHTML+="&#"+i+";";
}

</script>

</body>
</html>